﻿Public Class HoaDonDTO    
    Private _iMaHD As Integer
    Private _iMaBan As Integer
    Private _dtThoiGianLap As DateTime
    Private _dThanhTien As Double
    Private _iMaNV As Integer

#Region "Các hàm khởi tạo"
    Public Sub New(ByVal MaHD As String, ByVal MaBan As String, ByVal ThoiGianLap As DateTime, ByVal ThanhTien As Double, ByVal MaNV As Integer)
        _iMaHD = MaHD
        _iMaBan = MaBan
        _dtThoiGianLap = ThoiGianLap
        _dThanhTien = ThanhTien
        _iMaNV = MaNV
    End Sub
#End Region
#Region "Get & Set"
    Public Property IMaHD
        Get
            Return _iMaHD
        End Get
        Set(ByVal value)
            _iMaHD = value
        End Set
    End Property

    Public Property IMaBan
        Get
            Return _iMaBan
        End Get
        Set(ByVal value)
            _iMaBan = value
        End Set
    End Property

    Public Property DTThoiGianLap
        Get
            Return _dtThoiGianLap
        End Get
        Set(ByVal value)
            _dtThoiGianLap = value
        End Set
    End Property

    Public Property DThanhTien
        Get
            Return _dThanhTien
        End Get
        Set(ByVal value)
            _dThanhTien = value
        End Set
    End Property

    Public Property IMaNV
        Get
            Return _iMaNV
        End Get
        Set(ByVal value)
            _iMaNV = value
        End Set
    End Property
#End Region
End Class
